<!doctype html>
<html>
	<head>
		<meta charset="UTF-8" />
		<title>{:L('ADMIN_CENTER')}</title>
		<meta http-equiv="X-UA-Compatible" content="chrome=1,IE=edge" />
		<meta name="renderer" content="webkit|ie-comp|ie-stand">
		<meta name="robots" content="noindex,nofollow">
 		<link href="__PUBLIC__/simpleboot/bootstrap/css/bootstrap.min.css" rel="stylesheet">
        <link href="__PUBLIC__/simpleboot/font-awesome/4.4.0/css/font-awesome.min.css" rel="stylesheet">
		<style type="text/css">
        body{
			background: url('__TMPL__Public/assets/images/bg.jpg') no-repeat top center fixed;
		    -moz-background-size: cover;
		    -webkit-background-size: cover;
		    -o-background-size: cover;
		    background-size: cover;
			font-family: "微软雅黑";
		}
		.form-box{
			padding:5px 2%;
			background-color:rgb(71, 92, 130);
            width: 450px;
		}
		.form-top{
			padding: 30px 20%;
			border-bottom: 1px solid #e3e3e3; 
		}
		.form-top h2{font-size: 24px; color: #FFF;}
		.form-top i{
			color: #fff;
			font-size: 70px;
		}
		.form-content{
			padding: 30px 22%;
		}
		.form-control{
			height: 38px;
			line-height: 38px;
		}
		.btn{
			padding: 15px 30px;
			width: 100%;	
            background-color: #68C1DC;
            color: #fff;
		}
		.form-group{
			margin-bottom: 20px;
		}
        .verify_img{
            float: right;
        }
        </style>
		<script>
			if (window.parent !== window.self) {
					document.write = '';
					window.parent.location.href = window.self.location.href;
					setTimeout(function () {
							document.body.innerHTML = '';
					}, 0);
			}
		</script>
		
	</head>
<body>

<div class="container">
    		<div class="row"><p style="margin-top:200px"></p></div>
    		<div class="row">
    			<div class="col-md-3"></div>
    			<div class="col-md-6 form-box">
                    <div class="form-top text-center">
                        <h2>网站后台管理系统</h2>
                    </div>
                    <div class="form-content">
        				<form method="post" name="login" action="{:U('public/dologin')}" autoComplete="off" class="form-horizontal js-ajax-forms">
                            <div class="form-group">
                            	<input class="form-control" id="js-admin-name" required name="username" type="text" placeholder="{:L('USERNAME_OR_EMAIL')}" title="{:L('USERNAME_OR_EMAIL')}" value="{$_COOKIE['admin_username']}"/>
                            </div>
                            <div class="form-group">
                            	<input class="form-control" id="admin_pwd" type="password" required name="password" placeholder="{:L('PASSWORD')}" title="{:L('PASSWORD')}" />
                            </div>
    						<div class="form-group">
                                
                                <div class="col-md-7" style="margin:0px; padding:0px;">
    							<input type="text" id="input_verify" name="verify"  placeholder="验证码"   class="form-control">
                                </div>
                                <div class="col-md-5" style="margin:0px; padding:0px;">
                                {:sp_verifycode_img('length=4&font_size=14&width=100&height=34&charset=2345678&use_noise=1&use_curve=0','style="cursor: pointer;" title="点击获取"')}
                                </div>
    				        </div>
                            <div class="form-group">
                            	<button type="submit" name="submit" class="btn" data-loadingmsg="{:L('LOADING')}">{:L('LOGIN')}</button>
                            </div>
                        </form>
                    </div>
    			</div>
    		</div>

    	</div>

<script>
var GV = {
	DIMAUB: "",
	JS_ROOT: "__PUBLIC__/js/",//js版本号
	TOKEN : ''	//token ajax全局
};
</script>
<script src="__PUBLIC__/js/wind.js"></script>
<script src="__PUBLIC__/js/jquery.js"></script>
<script src="__PUBLIC__/simpleboot/bootstrap/js/bootstrap.min.js"></script>
<script type="text/javascript" src="__PUBLIC__/js/common.js"></script>
<script>
;(function(){
	document.getElementById('js-admin-name').focus();
})();
</script>
</body>
</html>
